#!/bin/bash

cd /home/zuwenqiang/Respo2/SimMed

export PYTHONPATH=$PWD:$PYTHONPATH



directory=Main_results/ft_eval/logs
if [ ! -d "$directory" ]; then
    mkdir -p "$directory"
    echo "Directory created: $directory"
else
    echo "Directory already exists: $directory"
fi



i=0
while [ $i -lt 20 ]; do
    i=$((i+1))
    CUDA_VISIBLE_DEVICES=5 python ft_eval.py --launcher none --master_port 17925 --exp_num $i configs/full/ISIC/vit-base.py 2>> $directory/vit.log
done